<?php


class PinkAccounts extends AdminBase{

    protected $do;

    function __construct(){
        parent::__construct();
        $this->do = 'accountsManage';
        $this->{$this->op}();
    }

    function indexAction(){
        include_once template("admin_v2/accounts");
        exit();
    }

    function listAction(){
        $this->fetchData(array_merge([
            'do'     => $this->do,
            'format' => 'json',
            'operate' => 'list',
        ], $this->req));
    }

    function detailAction(){
        $this->fetchData(array_merge([
            'do'     => $this->do,
            'format' => 'json',
            'operate' => 'detail',
        ], $this->req));
    }

}

new PinkAccounts;




